package com.softeem.work.w7;

public class Bank {
    //银行名称 bankName
    private String bankName;
    //所在国家名称： countryName（注所有银行都是在中国）
    private String countryName;
    //所有银行已发出的卡数 totalCardNumber
    private int totalCardNumber;
    //本银行累计存款金额 totalDeposit
    private double totalDeposit;
    //本银行累计取款金额 totalWithdraw
    private double totalWithdraw;
    //所有银行累计存款金额 allTotalDeposit
    private double allTotalDeposit;
    //所有银行累计取款金额 allTotalWithDraw
    private double allTotalWithDraw;

    public Bank() {
    }

    public Bank(String bankName, String countryName, int totalCardNumber, double totalDeposit, double totalWithdraw, double allTotalDeposit, double allTotalWithDraw) {
        this.bankName = bankName;
        this.countryName = countryName;
        this.totalCardNumber = totalCardNumber;
        this.totalDeposit = totalDeposit;
        this.totalWithdraw = totalWithdraw;
        this.allTotalDeposit = allTotalDeposit;
        this.allTotalWithDraw = allTotalWithDraw;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getCountryName() {
        return countryName;
    }

    public void setCountryName(String countryName) {
        this.countryName = countryName;
    }

    public int getTotalCardNumber() {
        return totalCardNumber;
    }

    public void setTotalCardNumber(int totalCardNumber) {
        this.totalCardNumber = totalCardNumber;
    }

    public double getTotalDeposit() {
        return totalDeposit;
    }

    public void setTotalDeposit(double totalDeposit) {
        this.totalDeposit = totalDeposit;
    }

    public double getTotalWithdraw() {
        return totalWithdraw;
    }

    public void setTotalWithdraw(double totalWithdraw) {
        this.totalWithdraw = totalWithdraw;
    }

    public double getAllTotalDeposit() {
        return allTotalDeposit;
    }

    public void setAllTotalDeposit(double allTotalDeposit) {
        this.allTotalDeposit = allTotalDeposit;
    }

    public double getAllTotalWithDraw() {
        return allTotalWithDraw;
    }

    public void setAllTotalWithDraw(double allTotalWithDraw) {
        this.allTotalWithDraw = allTotalWithDraw;
    }

    @Override
    public String toString() {
        return "Bank{" +
                "bankName='" + bankName + '\'' +
                ", countryName='" + countryName + '\'' +
                ", totalCardNumber=" + totalCardNumber +
                ", totalDeposit=" + totalDeposit +
                ", totalWithdraw=" + totalWithdraw +
                ", allTotalDeposit=" + allTotalDeposit +
                ", allTotalWithDraw=" + allTotalWithDraw +
                '}';
    }
}
